<template>
     <fieldset>
        <legend>modal框</legend>
        <button @click="handleClick">点击打开模态框</button>
        <popup :visible="show" @pressOut="cancel" @pressIn="confirm"></popup>
     </fieldset>
</template>

<script>
    import popup from "./popup.vue"
    import packagingA from "./packaging.js"
    export default{
        mixins:[packagingA],
       
        components:{
            popup,
        },
      

    }
</script>
